package firbi.base.display;

import com.google.android.maps.GeoPoint;
import com.google.android.maps.OverlayItem;

import firbi.base.com.BusStop;

/**
 * The actual bus stop icons that display on the map
 * and represent an actual bus stop. 
 *
 */
public class BusStopOverlayItem extends OverlayItem {
	private String mStopId;
	
	protected BusStopOverlayItem(GeoPoint point, String title, String snippet) {
		super(point, title, snippet);
	}
	public BusStopOverlayItem (GeoPoint point, BusStop stop) {
		super(point, "", "");
		mStopId = stop.getId();
	}
	
	/** Returns the interal stop id of bus stop represented by this overlay */
	public String getStopId() {
		return mStopId;
	}

}
